﻿using System;

namespace DTO
{
    public class ThanhVienDTO
    {
        private int _mathanhvien;
        private string _tenthanhvien;
        private string _namsinh;
        private string _nammat;
        private string _tuoi;
        private DateTime _ngaysinh;
        private int _doi;
        private DateTime _ngaymat;
        private bool _damat;
        private bool _gioitinh;
        private string _tongiao;
        private string _quequan;
        private string _duongdanhinh;
        private string _diadiemmaitang;
        private string _tieusu;


        public int MaThanhVien
        {
            get { return _mathanhvien; }
            set { _mathanhvien = value; }
        }


        public string TenThanhVien
        {
            get { return _tenthanhvien; }
            set { _tenthanhvien = value; }
        }


        public string NamSinh
        {
            get { return _namsinh; }
            set
            {
                if (value == "" || value == null)
                {
                    _namsinh = "-";
                }
                else
                {
                    _namsinh = value;
                }
            }
        }


        public string NamMat
        {
            get { return _nammat; }
            set
            {
                if (value == "" || value == null)
                {
                    _nammat = "-";
                }
                else
                {
                    _nammat = value;
                }
            }
        }


        public string Tuoi
        {
            get { return _tuoi; }
            set
            {
                if (value == "" || value == null)
                {
                    _tuoi = "-";
                }
                else
                {
                    _tuoi = value;
                }
            }
        }




        public DateTime NgaySinh
        {
            get { return _ngaysinh; }
            set { _ngaysinh = value; }
        }


        public int Doi
        {
            get { return _doi; }
            set { _doi = value; }
        }


        public bool DaMat
        {
            get { return _damat; }
            set { _damat = value; }
        }


        public DateTime NgayMat
        {
            get { return _ngaymat; }
            set { _ngaymat = value; }
        }


        public bool GioiTinh
        {
            get { return _gioitinh; }
            set { _gioitinh = value; }
        }


        public string TonGiao
        {
            get { return _tongiao; }
            set { _tongiao = value; }
        }


        public string DuongDanHinh
        {
            get { return _duongdanhinh; }
            set { _duongdanhinh = value; }
        }


        public string QueQuan
        {
            get { return _quequan; }
            set { _quequan = value; }
        }


        public string DiaDiemMaiTang
        {
            get { return _diadiemmaitang; }
            set { _diadiemmaitang = value; }
        }


        public string TieuSu
        {
            get { return _tieusu; }
            set { _tieusu = value; }
        }

    }
}